Skip to content

Preserve nested filenames for skill versions#1009

Open
MukundaKatta wants to merge 1 commit intoanthropics:mainfrom
MukundaKatta:codex/anthropic-skills-version-filenames
Open

Preserve nested filenames for skill versions#1009
MukundaKatta wants to merge 1 commit intoanthropics:mainfrom
MukundaKatta:codex/anthropic-skills-version-filenames

Conversation

@MukundaKatta
Copy link
Copy Markdown

Summary

  • preserve nested multipart filenames for beta skill version uploads
  • align skills.versions.create() with skills.create(), which already keeps nested paths
  • add an endpoint-level regression test that asserts the outgoing multipart File name

Testing

  • ./node_modules/.bin/jest tests/api-resources/beta/skills/versions.test.ts --runInBand --testNamePattern="preserves nested skill filenames"
  • ./node_modules/.bin/jest tests/form.test.ts --runInBand
  • ./scripts/build

Closes #968

@MukundaKatta MukundaKatta requested a review from a team as a code owner April 18, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SDK strips directory paths from filenames in multipart uploads, breaking skills.versions.create()

1 participant